package com.park.platform.service;

import com.park.common.bean.CommentInputView;
import com.park.common.bean.PageBean;
import com.park.common.poo.CommentInfo;
import com.park.common.poo.ReplyInfo;

import java.util.Map;

/**
 * Created by Administrator on 2017-04-30.
 */
public interface ICommentService {

    public PageBean getComments(CommentInputView commentInputView);

    public void newComment(CommentInfo commentInfo);

    public int getCommentCount(CommentInputView commentInputView);

    public PageBean getCommentsIN(CommentInputView commentInputView);

    public void newDeleteComment(int commentId);

    public CommentInfo getCommentInfo(int commentId);

    public Map<String, Object> getCommentInfoAndReplyInfo(int commentId);

    public void saveCommentReply(ReplyInfo replyInfo);

}
